<template>
  <a-table
    :columns="columns"
    :data-source="news"
    :pagination="false"
    :scroll="{ y: 100 }"
    :bordered="true">
  </a-table>
</template>
<script>
const news = [];
for(let i = 0; i < 100; i++){
  news.push({
    key: i,
    new:`A dog is a type of domesticated animal.`
  });
}
export default {
  name: "Information",
  data () {
    return {
      news,
      columns:[
        {
          title:'今日资讯',
          dataIndex: 'new',
          width: 200
        }
      ],
    };
  }
}
</script>
<style>
</style>